package com.rui.factory.abstract_.model;

import com.rui.factory.obj.Americano;
import com.rui.factory.obj.Cheesecake;
import com.rui.factory.obj.Coffee;
import com.rui.factory.obj.Dessert;

/**
 * 美式风格工厂
 */
public class AmericanFactory implements CoffeeShopFactory {

    @Override
    public Coffee createCoffee() {
        return new Americano();
    }

    @Override
    public Dessert createDessert() {
        return new Cheesecake();
    }
}